On the Tree Width of Ada Programs
نویسندگان
چکیده
The tree width of a graph G measures how close G is to being a tree or a series-parallel graph. Many well-known problems that are otherwise NP-complete can be solved efficiently if the underlying graph structure is restricted to one of fixed tree width. In this paper we prove that the tree width of goto-free Ada programs without labeled loops is ≤ 6. In addition we show that both the use of gotos and the use of labeled loops can result in unbounded tree widths of Ada programs. The latter result suggested to study the tree width of actual Ada programs. We implemented a tool capable of calculating tight upper bounds of the tree width of a given Ada program efficiently. The results show that most existing Ada code has small tree width and thus allows efficient automatic static analysis for many well-known problems and – as a by-product – most Ada programs are very close to series-parallel programs.
منابع مشابه
Systematic Unit-Testing of Ada Programs
The systematic test is an inevitable part of the verification and validation process for software. Overall support for all testing activities is currently not available in a single Ada testing tool. Hence, a combination of powerful testing tools is necessary to provide systematic and complete test process automation for the examination of Ada programs. The classification-tree editor CTE support...
متن کاملتأثیر جهت دامنه، اقلیم (دما و بارندگی) و خاک بر پهنای دوایر سالیانه گونه زغالاخته در جنگلهای ارسباران (شمال غرب ایران)
Cornalian cherry (Cornus mas L.) is a native woody species in Arasbaran, N.W. Iran. It commonly grows as a wild tree on the forest edges and in forest openings areas. In this study, the influence of physiographic and environmental factors such as aspect, climate (temperature, precipitation) and physical and chemical properties of soil on the tree ring width of Cornalian cherry was examined and ...
متن کاملEffect of tree decline and slope aspect on the leaf morphological traits of Persian oak trees
This study was accomplished with the aim of investigating the effects of tree decline and slope aspect on leaf morphological traits and determining the indicator morphological traits that indicate the leaf diversity of Persian oak trees in relation to habitat conditions and environmental stresses in Mellah Siah forests of Ilam. Two forest habitats were selected on the northern and southern slop...
متن کاملEvaluation of Morphological and Pomological Diversity of 62 Almond Cultivars and Superior Genotypes in Iran
Identification and selection of promising genotypes of fruit tree are primary steps in breeding programs. The economic importance of almond production in the world has stimulated numerous studies related to breeding, quantitative and qualitative traits, the increase of yield and decrease production costs. In this study, morphological and pomological characteristics of 60 cultivar and superior g...
متن کاملReconstructing the temperature degree of the warm seasons through Quercus persica tree rings in Zagros forests Dena region
Trees can record long-term effects of climate variables. Using dendroclimatology knowledge, we can reconstruct such variables especially for areas which have short-term climatic data. For this purpose, we reconstructed the temperature degree of the warm months (May-September) through annual rings width of Quercus persica and regression analysis of data obtained from stations on Dena region. Wit...
متن کامل